import Paypayer from './paypayer';

const Layout = resolve => {
  require(['./Layout'], resolve);
};

const routeConfig = {
  path: '/pay/admin',
  redirect: '/pay/admin/payCenter',
  component: Layout,
  meta: {
    title: '支付管理',
    name: '支付管理',
    show: true,
    icon: 'logo-usd'
  },
  children: [...Paypayer],
  beforeEnter: (to, from, next) => {
    next();
  }
};

window.routeConfig = [routeConfig];
export default [routeConfig];
